package models;

import javax.jdo.annotations.Index;
import javax.persistence.Id;

import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

public class TransactionModel {
	@Id private String transactionId = "";
	
	@Unindexed private String paypalIPN = "";
	
	@Unindexed private String business = "";
	
	@Unindexed private String payerEmail = "";
	
	@Unindexed private String payerId = "";
	
	@Unindexed private int quantity = 1;
	
	@Unindexed private String paymentStatus = "";
	
	@Unindexed private float paymentFee = 0;
	
	@Unindexed private String itemName = "";
	
	@Unindexed private String itemNumber = "";
	
	@Unindexed private String mcCurrency = "USD";
	
	@Unindexed private String receiverId = "";

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	public String getPaypalIPN() {
		return paypalIPN;
	}

	public void setPaypalIPN(String paypalIPN) {
		this.paypalIPN = paypalIPN;
	}

	public String getBusiness() {
		return business;
	}

	public void setBusiness(String business) {
		this.business = business;
	}

	public String getPayerEmail() {
		return payerEmail;
	}

	public void setPayerEmail(String payerEmail) {
		this.payerEmail = payerEmail;
	}

	public String getPayerId() {
		return payerId;
	}

	public void setPayerId(String payerId) {
		this.payerId = payerId;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public String getPaymentStatus() {
		return paymentStatus;
	}

	public void setPaymentStatus(String paymentStatus) {
		this.paymentStatus = paymentStatus;
	}

	public float getPaymentFee() {
		return paymentFee;
	}

	public void setPaymentFee(float paymentFee) {
		this.paymentFee = paymentFee;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemNumber() {
		return itemNumber;
	}

	public void setItemNumber(String itemNumber) {
		this.itemNumber = itemNumber;
	}

	public String getMcCurrency() {
		return mcCurrency;
	}

	public void setMcCurrency(String mcCurrency) {
		this.mcCurrency = mcCurrency;
	}

	public String getReceiverId() {
		return receiverId;
	}

	public void setReceiverId(String receiverId) {
		this.receiverId = receiverId;
	}
}
